let num: number = 1

let bool: boolean = true

let str: string = '123123'

let arr: number[] = [1, 2, 3, 4, 5]
let arr1: Array<number> = [1, 2, 3, 4, 5]

// 元组 Tuple

let tual: [number, string] = [1, '哈哈']

// 枚举
enum Color { Red, Yellow, Green }
console.log(Color.Red);
console.log(Color[0]);

// Any
let num1: any = 1

num1 = 'string'


// void
function add() {

}

// Null 和 Undefined
let bool1: boolean
bool1 = true


// 对象
let o: Object = {
	name: 123,
	age: 1231231
}